Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary canonicalisation steps before non-adjacent two-qubit gates #186

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

PabloAndresCQ
Copy link
Collaborator

No need to canonicalise all the way to l_pos, you just need that everything left of l_pos is in left canonical form and everything to the right of r_pos in right canonical form.

@PabloAndresCQ
Copy link
Collaborator Author

BTW, @jake-arkinstall, lean already did this properly👍

@PabloAndresCQ PabloAndresCQ merged commit 57b7a20 into main Jan 24, 2025
8 checks passed
@PabloAndresCQ PabloAndresCQ deleted the reduce_canonicalisation_non_adjacent branch January 24, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants